home *** CD-ROM | disk | FTP | other *** search
/ Alde ADA 5 #1 / ADA CD-ROM - Alde Publishing.iso / cm / reserve.sid < prev    next >
Encoding:
Text File  |  1988-05-03  |  3.8 KB  |  86 lines

  1. --= SID = SIMTEL20 Ada Software Repository Item Description File = SID =--
  2. -- UNIT NAME         : Ada Reserved Word Hash
  3. -- VERSION           : 1.0
  4. -- REVIEW CODE       : 
  5. -- DDN ADDRESS       : GRALIA @ APLVAX
  6. -- AUTHOR            : Mars J. Gralia
  7. --                   : Jerry L. Kashtan
  8. --                   : The Johns Hopkins Universtity
  9. --                   : Laurel, Maryland  20707
  10. -- COPYRIGHT         : (c) 1986 Mars J. Gralia and Jerry L. Kashtan
  11. -- DATE CREATED      : November 16, 1985
  12. -- DATE RELEASED     : January 29, 1986
  13. -- DATE LAST UPDATED : January 29, 1986
  14. -- LOCATION          : C2MUG
  15. -- LOCATION          : ASR
  16. -- ENVIRONMENT       : DEC 8600 Cluster, DEC Ada v1.0-7
  17. --= CLASSIFICATION       ===============================================--
  18. -- CATEGORY LEVEL 1  : COMPONENTS
  19. -- CATEGORY LEVEL 2  : Reserved Word Id
  20. -- CATEGORY LEVEL 3  : 
  21. -- CATEGORY LEVEL 4  : 
  22. -- KEYWORD           : ADA RESERVED WORDS
  23. -- KEYWORD           : PARSER
  24. -- KEYWORD           : TOKEN
  25. -- KEYWORD           : TOKENIZER
  26. -- KEYWORD           : SYNTAX
  27. -- KEYWORD           : HASH
  28. -- INDEX             : Ada Reserved Words
  29. -- INDEX             : Words, Ada Reserved
  30. -- INDEX             : Parser
  31. -- INDEX             : Token
  32. -- INDEX             : Tokenizer
  33. -- INDEX             : Syntax
  34. -- INDEX             : Hash
  35. -- TAXONOMY          : 
  36. -- DEPENDENCIES      : 
  37. -- SEE ALSO          : 
  38. --= FILE LISTING         ===============================================--
  39. -- FILE SPECS        : PD:<ADA.COMPONENTS>RESERVE.*
  40. -- DIRECTORY DISPLAY :
  41. -- Directory   PD:<ADA.COMPONENTS>
  42. --      File Name     Byte Count  Line Count
  43. --   ---------------  ----------  ----------
  44. --   RESERVE.AD             1306          35
  45. --   RESERVE.PRO            3382          70
  46. --   RESERVE.SRC           23186         721
  47. --   ===============  ==========  ==========
  48. --     3 Files             27874         826
  49. --= ABSTRACT             ===============================================--
  50. --         This     package     contains     the     single      function
  51. -- "is_Ada_reserved_word".  It returns with either a "true" or "false" to
  52. -- the statement "the input character string is a reserved  word  in  the
  53. -- Ada language".
  54. -- 
  55. --         The contribution of the function  is  that  it  executes  very
  56. -- quickly,  being  an  implementation  of the algorithm defined by David
  57. -- Wolverton in "A Perfect Hash Function  for  Ada  Reserved  Words",  as
  58. -- published  in  Ada  Letter,  July-August 1984.  It is much faster than
  59. -- either linear or binary searches of all the Ada reserved words.
  60. -- 
  61. --         A test driver is included, as is sample test data.
  62. -- 
  63. --= REVISION HISTORY     ===============================================--
  64. --
  65. -- DATE         VERSION    AUTHOR                  HISTORY
  66. -- 1/29/86      1.0    Gralia & Kashtan    Initial Release
  67. --= RELEASE NOTICE       ===============================================--
  68. -- This prologue must be included in all copies of this software.
  69. --
  70. -- This software is copyright by the authors.
  71. --
  72. -- This software is released to the Ada community.
  73. --
  74. -- Restrictions on use or distribution:  NONE
  75. --= DISCLAIMER           ===============================================--
  76. --     This software and its documentation are provided "AS IS" and
  77. -- without any expressed or implied warranties whatsoever.  No warranties
  78. -- as to performance, merchantability, or fitness for a particular
  79. -- purpose exist.
  80. --     The user is advised to test the software thoroughly before
  81. -- relying on it.  The user must assume the entire risk and liability of
  82. -- using this software.  In no event shall any person or organization of
  83. -- people be held responsible for any direct, indirect, consequential or
  84. -- inconsequential damages or lost profits.
  85. --======================================================================--
  86.